package com.xiashitech.agent.utils;

import java.util.Map;

public class XSMapUtil {
    public static String getStr(Map<String, ?> map, String key) {
        if(map == null || key == null)
            return null;
        return (String) map.get(key);
    }
}
